package com.zhuiyun.project.api.appuserreport.service;

import com.zhuiyun.project.api.appuserreport.entity.UserReport;
import com.zhuiyun.project.api.appuserreport.mapper.AppUserReportMapper;
import com.zhuiyun.project.api.appuserreport.model.AppUerReportModel;
import com.zhuiyun.project.api.check.model.CheckModel;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.util.pageUtil.PageRequest;
import com.zhuiyun.project.util.pageUtil.PageResult;

public interface AppUserReportService {
    /**
     * @param appUerReportModel
     * @param pageRequest
     * @Author 韩佳轩
     * @Description 举报用户全查
     * @Date 2023/8/8 16:19
     * @Return com.zhuiyun.project.util.pageUtil.PageResult
     */

    PageResult getUserReportsBy(AppUerReportModel appUerReportModel, PageRequest pageRequest);


    /**
     * @param userReport 1是警告 3是注销
     * @Author kdj
     * @Description 同意举报人记录
     * @Date 2023/8/14 16:00
     * @Return int
     */
    int userReport(UserReport userReport);

    /**
     * @param userReport
     * @Author kdj
     * @Description 驳回举报人记录
     * @Date 2023/8/14 15:52
     * @Return int
     */
    int userReportReject(UserReport userReport);

    /**
     * @param
     * @Author kdj
     * @Description 查询  举报人记录
     * @Date 2023/8/14 15:51
     * @Return com.zhuiyun.project.common.response.CommonResult
     */
    CommonResult userReportList();

    /**
     * @param userReport
     * @Author kdj
     * @Description 添加举报人记录
     * @Date 2023/8/14 15:52
     * @Return int
     */
    int userReportsy(UserReport userReport);

}
